package com.example.event;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.ApplicationEvent;

/**
 * Created by IntelliJ IDEA2021.3
 * 事件类
 *
 * @Author: Tenghw
 * @Date: 2022/09/25  20:29
 * @Description:
 */
@Slf4j
public class MyEvent extends ApplicationEvent {

    public MyEvent(Object source) {
        super(source);
        System.out.println("事件类——MyEvent....");
    }
}
